﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL.Interfaces;

namespace BAL.Interfaces
{
    public interface IService<TEntity> where TEntity : IEntity
    {
        TEntity Find(object[] keys);
        List<TEntity> GetAll();
        IQueryable<TEntity> GetAllValidados();
        void Remove(TEntity entity);
        void Create(TEntity entity);
        void Edit(TEntity entity);
    }
}
